savePlayer
Creates/updates the player on the server and when successful sets player to a new Player model. Fires a "saved" event.
edit.savePlayer(ev)
Creates/updates the player on the server and when successful sets player to a new Player model. Fires a "saved" event.
Parameters
-
ev
{Event}
OptionalA DOM Level 2 event that
preventDefault
will be called on.